<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
    if (80 == request.getServerPort())
    {
        basePath = request.getScheme() + "://"
                + request.getServerName() + path + "/";
    }
    response.setHeader("Pragma", "no-cache");
    response.setDateHeader("Expires", 0);
    response.setHeader("Cache-Control",
            "no-store,no-cache,must-revalidate");
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="<%=basePath%>">

		<title>注册</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<script type="text/javascript"
			src='<%=request.getContextPath()%>/js/js.js'></script>
		<script type="text/javascript"
			src='<%=request.getContextPath()%>/js/jquery-1.7.1.js'></script>
		<style type="text/css" src='<%=request.getContextPath()%>/css/css.css'></style>
		<STYLE type="text/css">
body {
	text-align: center;
}

td {
	width: 100px;
}
</STYLE>
	</head>

	<body align="center">
		<jsp:include page="./head.jsp"></jsp:include>
		<jsp:include page="./list.jsp"></jsp:include>
		<div class="bodycontent">
			<div>
				<h4>
					添加用户
				</h4>
			</div>
			<table class="regedit" style="margin: 0 auto;">
				<tr>
					<td class="textalignright">
						<label>
							姓名：
						</label>
					</td>
					<td>
						<input class="basic_input" type="text" id="u_name" name="u_name" />
					</td>
					<td>
						<span style="color: red;" id="u_name_msg"> </span>
					</td>
				</tr>
				<tr>
					<td class="textalignright">
						<label>
							密码：
						</label>
					</td>
					<td>
						<input class="basic_input type=" password" id="u_password"
							name="u_password" />
					</td>
					<td>
						<span style="color: red;" id="u_name_msg"></span>
					</td>
				</tr>
				<tr>
					<td colspan="3" style="text-align: center;">
						<a onclick="administerAddUser();" class="button">注册</a>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>
